<?php
	require_once '../../defines.php';
	require_once '../../includes/header.php';
	if(isLoggedIn()){
		echo "<div><div align='left'><a href='../../main.php'>Main</a></div><div align='right'><a href='../../Login/logout.php'>Logout</a></div></div>";
		echo "<h1>Add A Bug</h1>";
?>
<form method="POST" action="insertBug.php">
	Title:<br><input type ="text" name="title" value="" size="50" maxlength="50"/><br><br>
	Description:<br><textarea name="description" cols="50" rows="10"></textarea><br><br>
	Affected File(s):<br><textarea name="files" cols="25" rows="3"></textarea><br><br>
	<input type="submit" name="bugsubmit" value="Add"/>
</form>
<?php 
	}
	else{
		header("Location: http://".HOST."/DevManagement/Login/login.php");
	}
	require_once '../../includes/footer.php';
?>